Error message: "failed to clear system clipboard"

What are the causes of this error message to be generated? I received it when I was exporting objects (some include OLE figures) into WORD.

Thanks.
pete.kowalski - Sun May 02 20:17:18 EDT 2010

Re: Error message: "failed to clear system clipboard"
Mathias Mamsch - Mon May 03 16:33:59 EDT 2010

I experienced this message under two circumstances:

a) I tried exporting a corrupt OLE object
b) I messed around with the clipboard (like copy/pasting stuff) while exporting, so that the exporter got confused.

Maybe you give a context for the error, maybe a way to reproduce it, so we can find the exact reason.

Regards, Mathias


Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS

Re: Error message: "failed to clear system clipboard"
pete.kowalski - Sun May 09 15:05:54 EDT 2010

Mathias Mamsch - Mon May 03 16:33:59 EDT 2010
I experienced this message under two circumstances:

a) I tried exporting a corrupt OLE object
b) I messed around with the clipboard (like copy/pasting stuff) while exporting, so that the exporter got confused.

Maybe you give a context for the error, maybe a way to reproduce it, so we can find the exact reason.

Regards, Mathias


Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS

Thanks for the hints, Mathias. I am using a custom export script that will export objects to WORD using OLE method calls. I currently received the source code and learning how it handles these OLE objects. One thing that I do know it opens all the modules in read only mode in the background. I will report back when I learn more.

Re: Error message: "failed to clear system clipboard"
Mathias Mamsch - Tue May 11 13:48:18 EDT 2010

pete.kowalski - Sun May 09 15:05:54 EDT 2010
Thanks for the hints, Mathias. I am using a custom export script that will export objects to WORD using OLE method calls. I currently received the source code and learning how it handles these OLE objects. One thing that I do know it opens all the modules in read only mode in the background. I will report back when I learn more.

The custom export scripts usually use copy/paste to put stuff to the word file. If this error comes infrequently, I would suspect that you used "Copy/Paste" during an export operation. If the error is reproducable, try putting a print statement in the export loop which will print you the ID of the exported object. Then you can investigate the contents of this object to find the reason for the error. Regards, Mathias

Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS